package com.blkj.iam.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 应用表单对象
 *
 * @author haoxr
 * @since 2022/4/12 11:04
 */
@Schema(description = "应用表单对象")
@Data
public class ClientForm {

    @Schema(description = "应用ID")
    private Long id;

    @Schema(description = "应用名")
    @NotBlank(message = "应用名不能为空")
    private String appName;

    @Schema(description = "应用地址")
    @NotBlank(message = "应用地址不能为空")
    private String address;

    @Schema(description = "备注")
    private String remark;
}
